import api from '../api/api'

export function setToken(a,b) {
    api.login(a,b)
}

export function getToken(routeProps) {
    sessionStorage.setItem("routePath",routeProps.location.pathname)
    return localStorage.getItem("token");
}


